﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for EtiqaTAPolicyNumber
/// </summary>
/// 
namespace CE.TravelInsurance
{
    public class EtiqaTAPolicyNumber
    {
        public EtiqaTAPolicyNumber()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        private Int64 _policynumberid;
        private Int64 _providercompanyid;
        private string _policynumber;
        private bool _isissued;
        //common field name
        private Int64 _refceuserid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;


        public Int64 PolicyNumberId
        {
            get { return _policynumberid; }
            set { _policynumberid = value; }
        }


        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }


        public string PolicyNumber
        {
            get { return _policynumber; }
            set { _policynumber = value; }
        }

        public bool IsIssued
        {
            get { return _isissued; }
            set { _isissued = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }



        public void ClearFields()
        {
            _policynumberid = 0;
            _providercompanyid = 0;
            _policynumber = "";
            _isissued = false;

            //common field name
            _refceuserid = 0;
            _status = false;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";

        }
    }
}
